#include "dominion.h"
#include "dominion_helpers.h"
#include <string.h>
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
#include "rngs.h"

#define MAX_CARDS 27

int main(int argc, char **argv)
{
	int i, flag = 0;
	int card[27] = {curse, estate, duchy, province, copper, silver, gold, adventurer, council_room,
						feast, gardens, mine, remodel, smithy, village, baron, great_hall, minion, steward,
						tribute, ambassador, cutpurse, embargo, outpost, salvager, sea_hag, treasure_map};

	for(i = 0; i < MAX_CARDS; i++)
	{
		if(getCost(card[i]) < 9)
		{}
		else
		{
			printf("Unittest1: Failure for card element %d\n", card[i]);
			flag++;
		}
	
	
	}
	
	printf("Unittest1: function getCost() returned %d error(s).\n", flag);

		
	return 0;

}